package com.threeonemeeting.listcache;

import android.view.View;
import android.widget.TextView;

import com.threeonemeeting.R;

public class MeetingTradesInfoCache {

	private View baseView;
	private int meetCategoryId;
	private String strMeetingCategoryName;

	private TextView meetingCategoryNameTextView;

	public MeetingTradesInfoCache(View baseView, int meetCategoryId,
			String strCategoryName) {
		this.baseView = baseView;
		this.meetCategoryId = meetCategoryId;
		this.strMeetingCategoryName = strCategoryName;
	}

	public int getMeetingCategoryId() {
		return this.meetCategoryId;
	}

	public String getMeetingCategoryName() {
		return this.strMeetingCategoryName;
	}

	public TextView getMeetingCategoryNameTextView() {
		if (meetingCategoryNameTextView == null) {
			meetingCategoryNameTextView = (TextView) baseView
					.findViewById(R.id.tx_category_name);
		}
		return meetingCategoryNameTextView;
	}
}
